.tab-wrapper {
    width: 100%;
    overflow-y: auto;
}

.tab {
    display: flex;
    justify-content: space-between;
    width: fit-content;
    height: 12vmin;
    background-color: var(--main-color);
}

.tab-item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 2vmin;
    cursor:initial;
}

.tab-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1.2vmin;
    background-color: #2d6dc3;
}

.tab-item .tab-item_span {
    font-size: 13px;
    pointer-events: none;
}

@media screen and (min-width: 767px) {
    .tab {
        width: 100%;
        max-width: var(--news-bar-max-width);
        margin: 0 auto;
        height: 50px;
        border-radius: 10px 10px 0 0;
    }

    .tab-item.active::after {
        height: 5px;
    }
}